package com.baizhiedu.rsm.entity;

import java.io.Serializable;
import java.util.Date;

public class Answer implements Serializable {
    private Integer answerid;

    private String answertext;

    private Date answerdate;

    private Integer studentid;

    private Integer subjectid;

    private static final long serialVersionUID = 1L;

    public Integer getAnswerid() {
        return answerid;
    }

    public void setAnswerid(Integer answerid) {
        this.answerid = answerid;
    }

    public String getAnswertext() {
        return answertext;
    }

    public void setAnswertext(String answertext) {
        this.answertext = answertext;
    }

    public Date getAnswerdate() {
        return answerdate;
    }

    public void setAnswerdate(Date answerdate) {
        this.answerdate = answerdate;
    }

    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public Integer getSubjectid() {
        return subjectid;
    }

    public void setSubjectid(Integer subjectid) {
        this.subjectid = subjectid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", answerid=").append(answerid);
        sb.append(", answertext=").append(answertext);
        sb.append(", answerdate=").append(answerdate);
        sb.append(", studentid=").append(studentid);
        sb.append(", subjectid=").append(subjectid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}